<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page isELIgnored="false" %>
<%
    String path = request.getContextPath();
    if (path.length() > 0) path = path.substring(0, path.length() - 1);
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<jsp:include flush="true" page="/view/inc/incTop.jsp"/>
<h3 align="center">网站公告</h3>
<hr/>
<div class="container">
    <div class="row">
        <div class="col-sm-12">
            <s:iterator value="#request.noticeList" var="notice">
                <div class="panel panel-default" style="padding: 5px">
                    <TABLE class="table table-bordered">
                        <tbody>
                        <TR>
                            <TD align=middle width="10%">
                                <STRONG>发布人：</STRONG>
                            </TD>
                            <TD width="47%">
                                <s:property value="#notice[1].adminName"/>
                            </TD>
                            <TD align=middle width="14%">
                                <STRONG>发布时间：</STRONG>
                            </TD>
                            <TD width="29%">
                                <s:property value="#notice[0].noticeDate"/>
                            </TD>
                        </TR>
                        <TR>
                            <TD align=middle>
                                <STRONG>标题：</STRONG>
                            </TD>
                            <TD colSpan=3>
                                <s:property value="#notice[0].noticeTitle"/>
                            </TD>
                        </TR>
                        <TR>
                            <TD vAlign=top align=middle>
                                <STRONG>内容：</STRONG>
                            </TD>
                            <TD colSpan=3>
                                <s:property value="#notice[0].noticeInfo" escapeHtml="false"/>
                            </TD>
                        </TR>
                        </tbody>
                    </TABLE>
                </div>
            </s:iterator>
        </div>
        <jsp:include page="/common/page.jsp" flush="true"/>
        </div>
</div>
<jsp:include flush="true" page="/view/inc/incFoot.jsp"/>
